package com.example.hao.flowercityfm.HFAdapter.ViewHolder;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.GridLayoutManager;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;

import com.example.hao.flowercityfm.R;

import butterknife.BindView;

public class Type2ViewHolder extends BaseTypeViewHolder {

    @BindView(R.id.rv)
    RecyclerView rv;

    public Type2ViewHolder(Context context, View itemView) {
        super(context, itemView);
    }

    @Override
    public void initView() {
        rv.setLayoutManager(new GridLayoutManager(context,4));
//        rv.setAdapter();
    }

    public static final String URL_2 = "";

    class Type2RVAdapter extends RecyclerView.Adapter<Type2RVAdapter.Holder>{

        private Context context;

        public Type2RVAdapter(Context context) {
            this.context = context;
        }

        @NonNull
        @Override
        public Holder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
            return null;
        }

        @Override
        public void onBindViewHolder(@NonNull Holder holder, int position) {

        }

        @Override
        public int getItemCount() {
            return 0;
        }

        class Holder extends RecyclerView.ViewHolder {

            public Holder(View itemView) {
                super(itemView);
            }
        }
    }
}
